.relatedInstance {
  width: 800px;
  margin: 0 auto;
}
.relatedInstance ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.relatedInstance > ul > li {
  margin-bottom: 20px;
}

.relatedInstance > ul > li > h3 {
  background: #f3f2f0;
  color: #6bacdf;
  font-size: 14px;
  text-align: center;
  line-height: 26px;
}
.relatedInstance > ul > li > ul > li {
  padding-left: 28px;
  overflow: hidden;
  width: 100%;
  font-size: 14px;
  color: #999;
  line-height: 20px;
  min-height: 20px;
  text-decoration: underline;
  cursor: pointer;
  margin: 5px 0;
}
.relatedInstance > ul > li > ul > li {
  word-wrap: break-word;
}

.relatedInstance li h3 {
  cursor: pointer;
}
.relatedInstance li h3 span {
  float: right;
  line-height: 26px;
  margin-right: 5px;
}
.relatedInstance li li:hover {
  color: #333;
}

.relatedInstance li ul {
  overflow: hidden;
}
.relatedInstance li h3 {
  position: relative;
}

.relatedInstance li li {
  position: relative;
}
.relatedInstance li h3 b,
.relatedInstance li li b {
  position: absolute;
  top: 1px;
  left: 5px;
  vertical-align: middle;
  margin: 0;
  padding: 0;
  width: 18px;
  height: 18px;
  background: url(../images/blue.png);
  border: none;
  cursor: pointer;
  background-position: 0 0;
  margin-right: 5px;
}
.relatedInstance li h3 b {
  position: absolute;
  top: 4px;
}

.relatedInstance li h3 b:hover,
.relatedInstance li li b:hover {
  background-position: -20px 0;
}

.relatedInstance li h3 b.checked,
.relatedInstance li li b.checked {
  background-position: -40px 0;
}
.tabItem {
  width: 100%;
  height: 20px;
  background-color: rosybrown;
  color: #fff;
  padding: 5px;
}
